package com.zsh.spring.dao;

import com.zsh.spring.entity.Book;

import java.util.List;

public interface BookDao {
    void add(Book book);

    void updateBook(Book book);

    void deleteBook(Integer id);

    int selectCount();

    Book queryOneBookById(Integer id);

    List<Book> queryAllBooks();

    void batchAddBook(List<Object[]> batchArgs);
}
